Bookly\Lib\Slots\Finder D

Total Complexity 158
Dependencies 28
Dependents 2
Total lines 903
Lines of code 570
Logical lines of code 289
Comment lines 214
Methods 23
Properties 20

Methods 23

Method Rating Maintainability Complexity Lines of code
_prepareStaffData()
D
21
38 208
_generate()
C
33 29 89
load()
B
41 16 54
handleCartBookings()
A
44 12 42
_prepareServiceSchedule()
A
49 12 29
_prepareDates()
A
46 11 37
__construct()
A
50 10 25
getSelectedDateForPickadate()
S
56 6 20
getDisabledDaysForPickadate()
S
56 4 17
_groupDefault()
S
72 3 5
_stopDayPerColumn()
S
79 2 3
_stopDefault()
S
79 2 3
_breakDefault()
S
77 2 3
_breakOneSlot()
S
77 2 3
_stopCalendar()
S
80 1 3
prepare()
S
75 1 5
_stopOneSlot()
S
81 1 3
setLastFetchedSlot()
S
72 1 5
setSelectedDate()
S
77 1 4
getSelectedDate()
S
82 1 3
getSlots()
S
82 1 3
hasMoreSlots()
S
82 1 3
isServiceDurationInDays()
S
80 1 3